package com.wanxi.loopswitch;

public class MySwitch {
    public static void main(String[] args) {
//        aa("1");
        int aa = 1;
        switch (aa) {
            case 1:
            case 2:
            case 3:
                System.out.println("1");
                System.out.println("2");
                System.out.println("3");
                break;
            default:
                System.out.println("aa");
                break;
        }
    }

    public static void aa(String str) {
//        String str = "";
        switch (str) {
            case "1":
                System.out.println("1");
                break;

        }
        System.out.println("aaa");
    }
}
